package com.example.bookmanage.domain.borrow;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;
import java.util.Date;

import lombok.Data;

/**
 * @TableName borrow_db
 */
@TableName(value = "borrow_db")
@Data
public class Borrow {

    @TableId(value = "borrow_id", type = IdType.ASSIGN_ID)
    private Long borrowId;

    private Long bookId;

    private Long readerId;

    private LocalDateTime borrowDate;

    private LocalDateTime returnDate;

    private Integer status;
}
